package com.lmk.t01;

public class Test03 {
    public static void main(String[] args) {
        //Thread.currentThread() 获取当前线程对象
        Thread t1=new Thread(()->
                System.out.println(Thread.currentThread().getName()+"运行中....")

          );
       t1.setName("疯狂的线程");
        t1.start();
    }
}
